import request from '@/utils/request'

export const getPayList = () => {
  return request({
    url: '/user/vip/pay/list',
    method: 'get'
  })
}

/**
 * 支付宝下单
 */
export const getAliPay = (data) => {
  return request({
    url: '/user/alipay',
    params: data
  })
}

/**
 * 获取 VIP 支付数据
 */
export const getPayResult = (query) => {
  return request({
    url: '/sys/pay/result',
    params: query
  })
}
